package com.ys.service.purchase;

import com.ys.vo.R;

import java.util.List;
import java.util.Map;

/**
 * 采购地址维护
 */
public interface TcgPurchaseAddressService {

	//新增
	R add(Map<String, Object> params, Long menuId) throws Exception ;


	//修改
	R update(Map<String, Object> params, Long menuId) throws Exception ;

	//删除
	R del(Long id)throws Exception;

//	//删除列表
//	//R toDelByItem(Long id)throws Exception;
//
//	//流转通过
//	R flowPass(Long id) throws Exception;
//
//	//流转驳回
//	R flowRefuse(String bid, String reason) throws Exception;
//
//	//流转退回
//	R flowInit(String bid, String reason) throws Exception;
//
	//根据主表bid获取子表信息
	List<Map<String,Object>> getItemListByBid(String bid) throws Exception;

	//修改
	R edit(Map<String, Object> params, Long menuId,String subData) throws Exception;

//	//采购取消
//	R cancelInfo(String bid) throws Exception;


}